package mine.generic;

import java.util.List;

/**
 * Created by james on 16/1/29.
 */
public class GenericTest {
    public static  <T> void testGenericMethod3(T t, List<T> list){

    }

    public static  <T> void testGenericMethod4(List<T> list1,List<T> list2){

    }

    public static void main(String[] args) {
        Number n = null;
        Integer i = null;
        Object o = null;

        List<Number> list1 = null;
        testGenericMethod3(n,list1);
        testGenericMethod3(i,list1);

        List<Integer>[] list2 = null;
        testGenericMethod4(list1,list1);
//        testGenericMethod4(list2,list2);
    }
}
